home *** CD-ROM | disk | FTP | other *** search
- Path: pravda.aa.msen.com!not-for-mail
- From: crandall@mail.msen.com (Chad Randall)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Visual E - New E Developer Tool - vedev.gif (0/1)
- Date: 28 Mar 1996 14:00:02 GMT
- Organization: Msen, Inc. -- Ann Arbor, MI.
- Message-ID: <4je612$dns@pravda.aa.msen.com>
- References: <68772090@0humpty.tomate.tng.oche.de> <Dou4u8.2H1@cix.compulink.co.uk> <4j7kil$pd3@pravda.aa.msen.com> <4jd2u9$1vac@thebes.waikato.ac.nz>
- NNTP-Posting-Host: conch.aa.msen.com
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- Stephen B Hodge (sbh@cs.waikato.ac.nz) wrote:
- : Chad Randall (crandall@mail.msen.com) wrote:
- : :
- : : Design flaws? The only thing I can think of is a lack of strong
- : : datatyping. Other than that, it has a better design in places than C does.
- : : And E is close to Java in design. Exception handling, no messing with
- : : pointers, automatic memory deallocation, etc. If Java is the next big thing,
- : : than E can't be too bad.
- :
- : Java is based on C++. All of the things you have mentioned are in C++.
-
- Java is based, *in part*, on C++. The keywords, style, grammar and format is
- very close. But, Java's underside is quite clearly different than C++. I quote
- from "Java in a Nutshell" pg 15
-
- "C++ programmers should beware, though:
- While Java borrows a lot of terminology and even syntax from C++, the
- analogies between Java and C++ are not nearly as strong as those between Java
- and C. C++ programmers should be careful not to be lulled into a false sense
- of familiarity with Java because the languages share a number of keywords!"
-
- Java has no pointers. And while E does not eliminate pointers (it can't
- in theory, and still be Amiga-OS friendly). It hides pointers much
- better than C or C++ does.
-
- And I did not know that C++ could deallocate, *automatically*, allocated
- memory upon program exit, no matter how the program ends.
- Could you tell me how?
-
- I did forget that C++ has exception handling. But it does lack
- an equivalent to "EXCEPT DO", which I use alot.
-